cups: Fix gettext usage
authorBastien Nocera <hadess@hadess.net>
Fri, 15 Apr 2016 10:13:34 +0000 (12:13 +0200)
committerBastien Nocera <hadess@hadess.net>
Sat, 16 Apr 2016 16:43:12 +0000 (18:43 +0200)
commit97d27ca2f8a22ee3a1043fa1ad0e0813d8293f13
treedb99c820b7de0ed2e0206c5488c7aca0b899bb7f
parent5b7c06118c07dd0e8a8f1529b8991f780037aa80
cups: Fix gettext usage

The previous patches didn't mark some strings as to be translated, and
tried to translate strings with a variable part already inside the
string, which isn't going to work.

Mark the strings as translatable with context, and also make sure to
translate static strings when getting them out of their structure.

https://bugzilla.gnome.org/show_bug.cgi?id=764585
modules/printbackends/cups/gtkprintbackendcups.c